package com.ruoyi.master.mapper;

import java.util.List;
import com.ruoyi.master.domain.Strategy;
import com.ruoyi.master.domain.SurfingVO;

/**
 * 策略Mapper接口
 * 
 * @author jiandan
 * @date 2024-10-23
 */
public interface StrategyMapper 
{
    /**
     * 查询策略
     * 
     * @param strategyId 策略主键
     * @return 策略
     */
    public Strategy selectStrategyByStrategyId(Long strategyId);

    /**
     * 查询策略列表
     * 
     * @param strategy 策略
     * @return 策略集合
     */
    public List<Strategy> selectStrategyList(Strategy strategy);

    /**
     * 新增策略
     * 
     * @param strategy 策略
     * @return 结果
     */
    public int insertStrategy(Strategy strategy);

    /**
     * 修改策略
     * 
     * @param strategy 策略
     * @return 结果
     */
    public int updateStrategy(Strategy strategy);

    /**
     * 删除策略
     * 
     * @param strategyId 策略主键
     * @return 结果
     */
    public int deleteStrategyByStrategyId(Long strategyId);

    /**
     * 批量删除策略
     * 
     * @param strategyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStrategyByStrategyIds(Long[] strategyIds);

    public List<SurfingVO> selectSurfingList(SurfingVO surfingVO);
}
